import React, { Component } from 'react'
import Navbar from './Navbar/Navbar'
import Sidebar from './Sidebar/Sidebar'
export default class App extends Component {
  render() {
    return (
      <div>
        函数式组件
        {/* 类组件 */}
        <Navbar/>
        {/* 函数组件 */}
        <Sidebar title={"主页"} bg="pink" position="left"></Sidebar>
      </div>
    )
  }
}
